... benchmark routine 水准程序,基准例行程... benchmark task 基准题 benchmark programming 基准程序的程序设计...
基于1个网页-相关网页
Consider a benchmark that aims to determine the time it takes to access an array element: the task should not create the array.
假设一次基准测试希望度量出访问某个数组元素所用的时间:这个任务应该不用创建数组。
Note that Benchmark by default executes the task several times in order to gather statistics, and these multiple executions have the nice side effect of eliminating OSR as a performance issue.
注意,Benchmark在默认情况下会多次执行任务来收集统计数据,多次执行的副作用是消除OSR对性能的影响。
Another approach (which the Benchmark class USES) is simply to execute the task continuously for a predetermined, reasonably long time.
另一种方法是在一个预先确定的长度合理的时间段内连续执行任务(benchmark类就使用这种方法)。
应用推荐